package org.jeecg.modules.sanitation2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 卫生配置
 * @Author: jeecg-boot
 * @Date:   2022-03-19
 * @Version: V1.0
 */
@Data
@TableName("lwgy_setting_sanitation")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="lwgy_setting_sanitation对象", description="卫生配置")
public class LwgySettingSanitation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**编号*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "编号")
    private String id;
	/**分类名称*/
	@Excel(name = "批次名字", width = 15)
    @ApiModelProperty(value = "批次名字")
    private String batchName;
	/**状态*/
	@Excel(name = "学年", width = 15)
    @ApiModelProperty(value = "学年")
    private String schoolYear;
	@Excel(name = "学期", width = 15)
    @ApiModelProperty(value = "学期")
    private String semester;
    @Excel(name = "周数", width = 15)
    @ApiModelProperty(value = "周数")
    private String weeks;
    @Excel(name = "打分方式", width = 15)
    @ApiModelProperty(value = "打分方式")
    private String scoreWay;
    @Excel(name = "所属部门", width = 15)
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
    @Excel(name = "指标类型", width = 15)
    @ApiModelProperty(value = "指标类型")
    private String targetType;
    @Excel(name = "指标分数", width = 15)
    @ApiModelProperty(value = "指标分数")
    private String targetScore;

	/**createTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
	/**createBy*/
    @ApiModelProperty(value = "createBy")
    private String createBy;
	/**updateTime*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
	/**updateBy*/
    @ApiModelProperty(value = "updateBy")
    private String updateBy;
    /**确认状态*/
    @Excel(name = "确认状态", width = 15,dicCode = "success_state")
    @Dict(dicCode = "success_state")
    @ApiModelProperty(value = "确认状态")
    private java.lang.String successState;
}
